package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FutWeeklyDetailBean;

/**
* 描述：获取期货交易所主要品种每周交易统计信息，数据从2010年3月开始
* @author: codesmith
**/
@Data
@TableName("fut_weekly_detail")
public class FutWeeklyDetailEntity implements FutWeeklyDetailBean {
    
    /*
    * 交易所代码
    */
    @TableId
    @TableField("`exchange`") protected String exchange;
    /*
    * 期货品种代码
    */
    @TableId
    @TableField("`prd`") protected String prd;

    @TableField("`name`") protected String name;

    @TableField("`vol`") protected Integer vol;

    @TableField("`vol_yoy`") protected Double volYoy;

    @TableField("`amount`") protected Double amount;

    @TableField("`amout_yoy`") protected Double amoutYoy;

    @TableField("`cumvol`") protected Integer cumvol;

    @TableField("`cumvol_yoy`") protected Double cumvolYoy;

    @TableField("`cumamt`") protected Double cumamt;

    @TableField("`cumamt_yoy`") protected Double cumamtYoy;

    @TableField("`open_interest`") protected Integer openInterest;

    @TableField("`interest_wow`") protected Double interestWow;

    @TableField("`mc_close`") protected Double mcClose;

    @TableField("`close_wow`") protected Double closeWow;

    @TableField("`week`") protected String week;
    /*
    * 周日期
    */
    @TableId
    @TableField("`week_date`") protected LocalDate weekDate;
}